<div class="sidebar">
  <div class="my-info">
    <div class="avatar"><img class="t-img" src="<?php echo session('avatar')?session('avatar'):'__UPLOAD_PATH__/shop/common/default_user_portrait.gif';?>" /><a href="{:url('member/information/avatar')}" title="修改头像">修改头像</a></div>
    <dl>
      <dt>
        <h2><a href="javascript:void(0);" target="_blank"><?php echo $cm_info['member_name'];?></a></h2>
      </dt>
      <dd><span>话题：<em>(<b><?php echo intval($cm_info['cm_thcount']);?></b>)</em></span><span>回复：<em>(<b><?php echo intval($cm_info['cm_comcount']);?></b>)</em></span></dd>
    </dl>
  </div>
  <ul class="sidebar-menu">
    <li <?php if($menu_type == 'theme'){?>class="selected"<?php }?>><a href="{:url('pcenter/index')}">我的帖子</a></li>
    <li <?php if($menu_type == 'group'){?>class="selected"<?php }?>><a href="{:url('pcenter/my_group')}">我的圈子</a></li>
    <li <?php if($menu_type == 'inform'){?>class="selected"<?php }?>><a href="{:url('pcenter/my_inform')}">我的举报</a></li>
    <li <?php if($menu_type == 'recycled'){?>class="selected"<?php }?>><a href="{:url('pcenter/my_recycled')}">我的回收站</a></li>
  </ul>
</div>
